package networks.protocol;

public class Package {

    public PackageType type;
    public byte[] body;

    private int _length;

    public int getLength() {
        return _length;
    }

    public Package(PackageType type, byte[] body) {
        this.type = type;
        this.body = body;
        this._length = body.length;
    }
}
